package JAVASE515;

import java.util.Scanner;

public class JAVAcicumference {
    public static void main(String[] argc){
        System.out.print("请输入长和宽：");
        Scanner sc=new Scanner(System.in);
        double a= sc.nextDouble();
        double b= sc.nextDouble();
        cic(a,b);
    }
    public static void cic(double a,double b){
        double c=2*(a+b);
        System.out.println(c);
    }
}
